package com.sky.JavaBean;


public class Test {
    public static void main(String[] args) {
    //掌握实体类
    //类中所有成员变量都是私有的，并为每个成员变量设有Setxxx Getxxx等函数，且有无参数的构造函数
    Student s2 = new Student("sky", 100);
        System.out.println(s2.getName());
        System.out.println(s2.getScore());

        StudentOperator operator = new StudentOperator(s2);
    operator.printPass();

    }
}
